Package pl.wendigo.chrome.api.input

Contains DevTools Protocol Input domain implementation accessible via InputDomain class.

Types

DispatchKeyEventRequest
Link copied to clipboard
data class DispatchKeyEventRequest(type: String, modifiers: Int?, timestamp: TimeSinceEpoch?, text: String?, unmodifiedText: String?, keyIdentifier: String?, code: String?, key: String?, windowsVirtualKeyCode: Int?, nativeVirtualKeyCode: Int?, autoRepeat: Boolean?, isKeypad: Boolean?, isSystemKey: Boolean?, location: Int?, commands: List<String>?)
Represents request frame that can be used with Input#dispatchKeyEvent operation call.
DispatchMouseEventRequest
Link copied to clipboard
data class DispatchMouseEventRequest(type: String, x: Double, y: Double, modifiers: Int?, timestamp: TimeSinceEpoch?, button: MouseButton?, buttons: Int?, clickCount: Int?, force: Double?, tangentialPressure: Double?, tiltX: Int?, tiltY: Int?, twist: Int?, deltaX: Double?, deltaY: Double?, pointerType: String?)
Represents request frame that can be used with Input#dispatchMouseEvent operation call.
DispatchTouchEventRequest
Link copied to clipboard
data class DispatchTouchEventRequest(type: String, touchPoints: List<TouchPoint>, modifiers: Int?, timestamp: TimeSinceEpoch?)
Represents request frame that can be used with Input#dispatchTouchEvent operation call.
EmulateTouchFromMouseEventRequest
Link copied to clipboard
data class EmulateTouchFromMouseEventRequest(type: String, x: Int, y: Int, button: MouseButton, timestamp: TimeSinceEpoch?, deltaX: Double?, deltaY: Double?, modifiers: Int?, clickCount: Int?)
Represents request frame that can be used with Input#emulateTouchFromMouseEvent operation call.
GestureSourceType
Link copied to clipboard
enum GestureSourceType : Enum<GestureSourceType>
InputDomain
Link copied to clipboard
class InputDomain : Domain
InputDomain represents Input protocol domain request/response operations and events that can be captured.
InsertTextRequest
Link copied to clipboard
data class InsertTextRequest(text: String)
Represents request frame that can be used with Input#insertText operation call.
MouseButton
Link copied to clipboard
enum MouseButton : Enum<MouseButton>
SetIgnoreInputEventsRequest
Link copied to clipboard
data class SetIgnoreInputEventsRequest(ignore: Boolean)
Represents request frame that can be used with Input#setIgnoreInputEvents operation call.
SynthesizePinchGestureRequest
Link copied to clipboard
data class SynthesizePinchGestureRequest(x: Double, y: Double, scaleFactor: Double, relativeSpeed: Int?, gestureSourceType: GestureSourceType?)
Represents request frame that can be used with Input#synthesizePinchGesture operation call.
SynthesizeScrollGestureRequest
Link copied to clipboard
data class SynthesizeScrollGestureRequest(x: Double, y: Double, xDistance: Double?, yDistance: Double?, xOverscroll: Double?, yOverscroll: Double?, preventFling: Boolean?, speed: Int?, gestureSourceType: GestureSourceType?, repeatCount: Int?, repeatDelayMs: Int?, interactionMarkerName: String?)
Represents request frame that can be used with Input#synthesizeScrollGesture operation call.
SynthesizeTapGestureRequest
Link copied to clipboard
data class SynthesizeTapGestureRequest(x: Double, y: Double, duration: Int?, tapCount: Int?, gestureSourceType: GestureSourceType?)
Represents request frame that can be used with Input#synthesizeTapGesture operation call.
TimeSinceEpoch
Link copied to clipboard
typealias TimeSinceEpoch = Double

UTC time in seconds, counted from January 1, 1970.

TouchPoint
Link copied to clipboard
data class TouchPoint(x: Double, y: Double, radiusX: Double?, radiusY: Double?, rotationAngle: Double?, force: Double?, tangentialPressure: Double?, tiltX: Int?, tiltY: Int?, twist: Int?, id: Double?)